package xjtu.sad.zbsj.task.publisher.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Task {
    private String taskId;
    private String publisher;
    private String templateId;
    private String taskTitle;
    private String taskRequire;
    private String taskDesc;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    private Date taskPublishTime;
    private Integer taskLimitTime;
    private Integer taskAward;
    private Integer taskContentCount;
    private Integer taskMarkCount;
    private String taskStatus;
    private String taskKind;
    private Integer taskMaxDistribution;
    private Integer taskExceptionTime;
    private Float lowExceptionRate;
    private Float middleExceptionRate;
    private Float highExceptionRate;
}
